import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        BASE_URL_1: 'http://timemeetyou.com:8889/api/private/v1/',
        BASE_URL_2: 'https://www.liulongbin.top:8888/api/private/v1/',
        BASE_URL_3: 'http://www.ysqorz.top:8888/api/private/v1/',
        BASE_URL_4: 'http://119.23.48.121:8888/api/private/v1/',
        BASE_URL_5: 'http://127.0.0.1:8888/api/private/v1/',
        sortList: [
            {
                id: 1,
                sort: ''
            }
        ]
    },
    mutations: {
        changeSortList(state, data) {
            state.sortList = data
        }
    }
})
